<div class="tab-box">
    <ul>
        <li ui-sref="loanlater.plan"
        	class="active">
        	回款计划
        </li>
    </ul>
</div>

<div class="section-search">
	<span class="line-block">
        <ui-datepicker error-tis="" placeholder="开始时间" ng-model="param.start_time"></ui-datepicker>
    </span>
	<span class="line-block">
        <ui-datepicker  placeholder="结束时间" ng-model="param.end_time"></ui-datepicker>
   </span>
    <span class="line-block">
        <button class="btn btn-success search-btn"><em class="glyphicon glyphicon-search"></em></button>
    </span>
</div>
<div class="dataList">
    <table class="table">
        <thead>
        <tr>
            <th width="10%">操作</th>
            <th width="10%">还款日期</th>
            <th width="10%">订单数量</th>
            <th width="10%">应还总额</th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
            <th width="10%"></th>
        </tr>
        </thead>
        <tbody>
        <tr ng-if="isData" class="_loading">
            <td colspan="10">
                <div class="no_data" ng-if="isData">暂时找不到数据</div>
            </td>
        </tr>
        <tr ng-repeat="(i,item) in param1.dataList track by $index " ng-click="$_fn.tabClick($event)">
            <td>
              <button class="btn btn-success search-btn" 
              	ng-click="operation('alert@minxi',{repayment_time:item.repayment_time})">
          	          查看明细
              </button>
            </td>
            <td>{{item.repayment_time}}</td>
            <td>{{item.count}}</td>
            <td>{{item.receivables  | toRMB}}</td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        </tbody>
    </table>
</div>
<div class="page" ng-if="!isData">
    <pages total="{{param1.page.total}}" current="param1.page.pageNum" page-size="{{param1.page.pageSize}}"></pages>
</div>
